package com.project.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 灾情防治--区域实体类
 */

@TableName("t_area")
public class AreaBean {
    @TableId(value = "pk_areaId",type = IdType.AUTO)
    private int areaId;
    /*** 区域名称 */
    @TableField("f_areaName")
    private String areaName;
    /*** 区域林种 */
    @TableField("f_areaSeed")
    private String areaSeed;
    /*** 区域地类 */
    @TableField("f_areaType")
    private String areaType;
    /*** 区域优势树种 */
    @TableField("f_areaEx")
    private String areaEx;

    @TableField(exist = false)
    private ClassBean classList;

    public AreaBean() {
    }

    public AreaBean(String areaName, String areaSeed, String areaType, String areaEx) {
        this.areaName = areaName;
        this.areaSeed = areaSeed;
        this.areaType = areaType;
        this.areaEx = areaEx;
    }

    public int getAreaId() {
        return areaId;
    }

    public void setAreaId(int areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaSeed() {
        return areaSeed;
    }

    public void setAreaSeed(String areaSeed) {
        this.areaSeed = areaSeed;
    }

    public String getAreaType() {
        return areaType;
    }

    public void setAreaType(String areaType) {
        this.areaType = areaType;
    }

    public String getAreaEx() {
        return areaEx;
    }

    public void setAreaEx(String areaEx) {
        this.areaEx = areaEx;
    }

    public ClassBean getClassList() {
        return classList;
    }

    public void setClassList(ClassBean classList) {
        this.classList = classList;
    }

    @Override
    public String toString() {
        return "AreaBean{" +
                "areaId=" + areaId +
                ", areaName='" + areaName + '\'' +
                ", areaSeed='" + areaSeed + '\'' +
                ", areaType='" + areaType + '\'' +
                ", areaEx='" + areaEx + '\'' +
                ", classList=" + classList +
                '}';
    }
}
